Platform Explorer / Nuxeo Platform 5.8

Extension point renditionDefinitions

Documentation

Extension point to register rendition definitions. For instance, here is one defining a PDF rendition.

    <renditionDefinition enable="true" name="pdf">
        <label>label.rendition.pdf</label>
        <operationChain>blobToPDF</operationChain>
    </renditionDefinition>

Contribution Descriptors

  • Class: org.nuxeo.ecm.platform.rendition.service.RenditionDefinition

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-template-rendering-core-5.8.jar
    <extension point="renditionDefinitions" target="org.nuxeo.ecm.platform.rendition.service.RenditionService">
        <renditionDefinition class="org.nuxeo.template.rendition.TemplateBasedRenditionProvider" enable="true" name="delivery">
          <icon>/icons/delivery.png</icon>
          <label>label.rendition.delivery</label>
        </renditionDefinition>
        <renditionDefinition class="org.nuxeo.template.rendition.TemplateBasedRenditionProvider" enable="true" name="webView">
          <icon>/icons/htmlView.png</icon>
          <label>label.rendition.webView</label>
        </renditionDefinition>
      </extension>
  • nuxeo-platform-rendition-core-5.8.jar
    <extension point="renditionDefinitions" target="org.nuxeo.ecm.platform.rendition.service.RenditionService">
        <renditionDefinition enable="true" name="pdf">
          <label>label.rendition.pdf</label>
          <icon>/icons/pdf.png</icon>
          <operationChain>blobToPDF</operationChain>
        </renditionDefinition>
      </extension>